<%@ page import="com.wuchao.service.serviceImpl.ServiceImpl" %>
<%@ page import="com.wuchao.entity.User" %>
<%@ page import="java.util.List" %><%--
  Created by IntelliJ IDEA.
  User: Root404
  Date: 2022/6/24
  Time: 16:19
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

<%
    ServiceImpl service = new ServiceImpl();
    List<User> poJo = service.findPoJo("select * from user");
    for(User u : poJo){%>
    <h1><%=u.getName()%></h1>

<%
    }%>

</body>
</html>
